<!-- 返回 -->
<template>
  <div class="activity-detail-back" @click="onBack()">
    <van-icon name="arrow-left" color="#fff" />
  </div>
</template>
  <script setup>
import { computed, reactive, toRefs, ref, onMounted } from "vue";
import { useRoute, useRouter } from "vue-router";

const route = useRoute();
const router = useRouter();

const state = reactive({});

const { tabsList, labelsColor } = toRefs(state);

onMounted(() => {});

const onBack = () => {
  router.go(-1);
};
</script>
  
<style lang="scss" scoped>
.activity-detail-back {
  position: fixed;
  top: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  z-index: 9999999;
}
</style>
  